import cardRequest from "../../utils/cardRequest.js";
import request from "../../utils/request.js";
export default class {
  static findByMemberOpenId(params) {
    return cardRequest({
      url: `applet/mobile/visitcard/memberrelation/findByMemberOpenId`,
      type: "GET",
      data:params
    })
  }
  static queryEmployeeByCityCode(params){
    return request({
        url: `app/HomeRecommend/queryEmployeeByCityCode`,
        headers: {
            "Content-type": 'application/x-www-form-urlencoded' , //"application/x-www-form-urlencoded"
          },
        data:params
      })
  }
  static delHistoryMsg(params) {
    return cardRequest({
      url: `applet/mobile/visitcard/chatmsg/delHistoryMsg`,
      type: "GET",
      data:params
    })
  }
}  